local DelayEntry = class("DelayEntry", require("app.views.slots.task.TaskEntry"))

function DelayEntry:ctor(delayTime)
    DelayEntry.super.ctor(self)
    self._delayTime = delayTime
    self._timer = 0
    self:addToQueue(self, self._step)
end

function DelayEntry:_step(dt)
    self._timer = self._timer + dt
    if self._timer > self._delayTime then
        return true
    end
end

return DelayEntry